package com.dgw.helloworld.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @program: spring-boot-hellworld-quickly
 * @description:
 * @author: Mr.Dai
 * @create: 2019-11-24 22:14
 **/
@RestController
public class HelloWorldController {

    @GetMapping("/index")
    public String showHelloWorld() {
        return "Hello World!";
    }
}
